/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package chat;

/**
 *
 * @author salm
 */
abstract class BaseChatMessage implements ChatMessage{
    private String senderID;
    private String receiverID;
    
    public BaseChatMessage(String sender, String receiver)
    {
        this.senderID = sender;
        this.receiverID = receiver;
    }

    @Override
    public String getSenderID() {
        return this.senderID;
    }

    @Override
    public String getReceiverID() {
        return this.receiverID;
    }
}
